package com.hornsun.configInfo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 编译中... on 2018/5/25.
 */
@Component
@ConfigurationProperties(prefix = "interceptUrl")
public class ConfigListInfo {
    private List<String> wechat = new ArrayList<String>();
    private List<String> web = new ArrayList<String>();

    public List<String> getWechat() {
        return wechat;
    }

    public void setWechat(List<String> wechat) {
        this.wechat = wechat;
    }

    public List<String> getWeb() {
        return web;
    }

    public void setWeb(List<String> web) {
        this.web = web;
    }

    @Override
    public String toString() {
        return "ConfigListInfo{" +
                "wechat=" + wechat +
                ", web=" + web +
                '}';
    }
}
